//
//  XHRRefreshNormalHeader.m
//  BuDeJie
//
//  Created by haoran on 16/4/22.
//  Copyright © 2016年 xuhaoran. All rights reserved.
//

#import "XHRRefreshNormalHeader.h"

@implementation XHRRefreshNormalHeader

-(instancetype)initWithFrame:(CGRect)frame{

    if (self = [super initWithFrame:frame]) {
        // 自动切换透明度
        self.automaticallyChangeAlpha = YES;
        // 隐藏时间
        self.lastUpdatedTimeLabel.hidden = YES;
        self.stateLabel.backgroundColor = [UIColor cyanColor];
        self.stateLabel.font = [UIFont systemFontOfSize:16];
        self.stateLabel.textColor = [UIColor blackColor];
        
        [self setTitle:@"马上往下拉啦啦" forState:MJRefreshStateIdle];
        [self setTitle:@"正在拼命的加载,客官稍等哒." forState:MJRefreshStateRefreshing];
        [self setTitle:@"松开就能刷新咯" forState:MJRefreshStatePulling];
        
    }
    return self;
}

@end
